<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

<f:view contentType="text/html">
	<h:head>
		<f:facet name="first">
			<meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
			<meta content='text/html; charset=UTF-8' http-equiv="Content-Type" />
			<title>RUPECM</title>
		</f:facet>

		<h:outputStylesheet library="css" name="default.css" />
		<link type="text/css" rel="stylesheet"	href="#{request.contextPath}/resources/css/syntaxhighlighter/syntaxhighlighter.css" />

		<style type="text/css">
			.ui-layout-north {
				overflow: visible !important;
			}
			
			.ui-layout-north .ui-layout-unit-content {
				overflow: visible !important;
			}
			
			.ui-layout-north .ui-layout-unit-content {
				background-image: url('#{request.contextPath}/resources/images/backtop.png');
				
			}
		</style>

		<!-- ICONE PAGINA -->
		<link rel="shortcut icon" type="image/x-icon"
			href="#{request.contextPath}/images/favicon.ico" />

	</h:head>

	<h:body style="background-color:#E4EEF7;">
		<p:layout fullPage="true"> 

			<!-- TITULO -->
			<p:layoutUnit id="titulo" position="north" size="70" style="text-align:right; font-weight: bold; font-size:145%;"> 
					
				<div style="width:100%; padding-bottom: 50px">
				<h:form>
				<h:commandLink action="principalRecurso.jsf">   
					<h:graphicImage value="/resources/images/logo_small.png" height="45" style="border:0; padding-right: 30px; padding-bottom: 20px"/>
				</h:commandLink>  
				</h:form>
				</div>   	 
			</p:layoutUnit>

			<!-- FOOTER -->
			<p:layoutUnit id="bottom" position="south" size="50">
				<ui:insert name="rodape">
					<ui:include src="/publico/rodape.xhtml" />
				</ui:insert>
			</p:layoutUnit>

			<!-- MENU -->
			<p:layoutUnit id="left" position="west" size="300" resizable="false"
				closable="false" collapsible="true" minSize="200" header="MENU">
				<ui:insert name="menu">
					<ui:include src="/restritoRecurso/menuR.xhtml" />
				</ui:insert>
			</p:layoutUnit>

			<!-- DADOS GERENTE -->
			<p:layoutUnit id="right" position="east" header="DADOS" size="250"
				resizable="true" closable="false" collapsible="true">
				<ui:insert name="dados">
					<ui:include src="/restritoRecurso/dadosRecurso.xhtml" />
				</ui:insert>
			</p:layoutUnit>

			<!-- CORPO -->
			<p:layoutUnit id="center" position="center" style="border:0;" >
				<h:form>
					<ui:insert name="corpo">
					</ui:insert> 
				</h:form>
			</p:layoutUnit>
			
		</p:layout>
	</h:body>

</f:view>
</html>
